﻿function loadStatus() {
    var fileValue = document.getElementById("FileUpload1").value;
    var inde = fileValue.indexOf(":");
    if (fileValue != "" && document.getElementById("txtName").value != "" && document.getElementById("txtComments").value != "") {
        if (inde > -1)
            document.getElementById("lblStatus").innerHTML = "Processing your request....Please wait";
        else
            document.getElementById("lblStatus").innerHTML = "Please provide a valid file as attachment.";
    }
}